package com.gxa.ssm340.mapper;

import com.gxa.ssm340.entity.pojo.Points;

import java.util.List;

/**
 * @author Ben
 * @date 2023-10-24 11:23
 */
public interface PointsMapper {
    /**
     * 通过手机号查询获取积分
     * @param phone
     * @return
     */
    List<Points> selectGetPointsByPhone(String phone);

    /**
     * 通过手机号查询兑换积分
     * @param phone
     * @return
     */
    List<Points> selectExchangePointsByPhone(String phone);
}
